-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(feedBrain): add request pending message #1135 #1136
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Risk Level 2 - /home/runner/work/quivr/quivr/frontend/app/chat/[chatId]/tests/page.test.tsx The code changes seem to be mostly about importing and mocking modules for testing. There doesn't seem to be any high-risk changes. However, it's important to ensure that the mocks accurately represent the real modules to avoid false positives or negatives in the tests. Also, the Risk Level 3 - /home/runner/work/quivr/quivr/frontend/app/chat/[chatId]/components/ActionsBar/ActionsBar.tsx
useEffect(() => {
const updateNotificationsStatus = async () => {
const chatId = params?.chatId as string | undefined;
if (chatId !== undefined) {
try {
const history = await getHistory(chatId);
setHasPendingRequests(checkIfHasPendingRequest(history));
} catch (error) {
console.error(error);
// handle error
}
}
};
void updateNotificationsStatus();
}, [getHistory, params?.chatId]);
📑🔍🚧 Powered by Code Review GPT |
873f80b
to
7ede959
Compare
7ede959
to
7869464
Compare
Screen.Recording.2023-09-07.at.17.01.28.mov